Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed compilation on Windows. #31

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

eaplatanios
Copy link

I'm currently attempting to get XLA to compile on Windows with CUDA support and this PR fixes one of the issues I ran into related to the shardy dependency. The tl;dr is that designated initializers are a C++ 20 feature that GCC supports even when you're compiling using C++ 17 (which XLA does), but unfortunately MSVC is stricter and does not support it for that version of C++. This PR removes the uses of that feature from shardy.

@eaplatanios
Copy link
Author

I see that all PRs in this repository are from copybara and so I'm not sure this is the right place to open this PR. cc @ZixuanJiang @tomnatan30 (tagging you just based on activity on other PRs).

@tomnatan30
Copy link
Collaborator

Hey Anthony, thanks for sending the PR!

We have just open sourced Shardy and we aren't accepting contributions yet, there are a few things we need to set up before that.

Happy to fix this for you until we start accepting external PRs, if that's ok with you.

@eaplatanios
Copy link
Author

That sounds good to me! Thanks @tomnatan30! I guess that explains all the PRs being from copybara. :)

Would you mind letting me know once it's fixed so I can put up a PR in the XLA repository updating the dependency? Thanks!

@tomnatan30
Copy link
Collaborator

np! I'm updating the dep here: openxla/xla#15502 (via copybara)

@eaplatanios
Copy link
Author

Great, thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants